package com.example.service;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

@Service
@RefreshScope
public class EnvService {
    @Value("${serviceenv}")
    private String serviceenv;

    public String getServiceEnv() {

        return serviceenv;
    }
}
